<!--
 * @Descripttion: 视频
 * @version: V1.0
 * @Author: GW
 * @Date: 2021-09-11 08:40:23
 * @LastEditors: GW
 * @LastEditTime: 2021-09-15 15:07:21
-->
<template>
    <section class="edit-wrapper">
        <p>视频地址</p>
        <a-textarea class="onresize" v-model="data.src" cols="10" rows="5" placeholder="请复制视频地址"></a-textarea>
        <a-divider></a-divider>
        <a-checkbox v-model="data.onPadding">是否有边距</a-checkbox>
    </section>
</template>

<script>
export default {
    props: {
        data: {
            type: Object,
            default: {}
        },
    }
}
</script>

<style lang="less" scoped>
    .edit-wrapper {
        padding: 10px 10px 28px;
        .onresize{
            resize: none;
        }
    }
</style>